﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.EntityFrameworkCore;

namespace Abp.EntityFrameworkCore
{
    public class AbpDbContext : AbpDbContext<AbpDbContext>
    {
        public AbpDbContext(DbContextOptions<AbpDbContext> options) : base(options)
        {
        }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
            modelBuilder.ApplyConfigurationsFromAssembly(typeof(AbpDbContext).Assembly);
        }
    }
}
